package com.sptus.web.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.sptus.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: spt_user_equipment
 * @Author: jeecg-boot
 * @Date:   2024-10-25
 * @Version: V1.0
 */
@Data
@TableName("spt_user_equipment")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="spt_user_equipment对象", description="spt_user_equipment")
public class SptUserEquipment implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**equipmentId*/
	@Excel(name = "equipmentId", width = 15)
    @ApiModelProperty(value = "equipmentId")
    private String equipmentId;

    @Excel(name = "equipmentId", width = 15)
    @ApiModelProperty(value = "devName")
    private String devName;


	/**userId*/
	@Excel(name = "userId", width = 15)
    @ApiModelProperty(value = "userId")
    private String userId;
	/**primary*/
	@Excel(name = "primary", width = 15)
    @TableField("`primary`")
    @ApiModelProperty(value = "`primary`")
    private Integer primary;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
	/**email*/
	@Excel(name = "email", width = 15)
    @ApiModelProperty(value = "email")
    private String email;
	/**adds*/
	@Excel(name = "adds", width = 15)
    @ApiModelProperty(value = "adds")
    private String adds;
}
